package com.servicec.controller;

import com.sml.aop.sml.SMLLogAnnotation;
import com.sml.requset.ApiRequest;
import com.servicec.feign.ServiceCFeign;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author linlx
 * @Date 2021/8/8 16:36
 * @Description
 **/
@RestController
public class ServiceCController implements ServiceCFeign {

  @Override
  @SMLLogAnnotation
  public String testLogThird(ApiRequest request) {
    if (1 == 1) {
      throw new RuntimeException();
    }
    return "success";
  }
}
